package com.nys.cqhttp.mapper;

import com.nys.cqhttp.model.FishState;
import com.nys.cqhttp.model.FishStateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface FishStateMapper {
    long countByExample(FishStateExample example);

    int deleteByExample(FishStateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FishState record);

    int insertSelective(FishState record);

    List<FishState> selectByExample(FishStateExample example);

    FishState selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FishState record, @Param("example") FishStateExample example);

    int updateByExample(@Param("record") FishState record, @Param("example") FishStateExample example);

    int updateByPrimaryKeySelective(FishState record);

    int updateByPrimaryKey(FishState record);
}